package com.example.curd.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.curd.common.ResponseModel;
import com.example.curd.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.curd.payload.request.User.AddUserRequest;
import com.example.curd.payload.request.User.DeleteUserRequest;
import com.example.curd.payload.request.User.SelectUserRequest;
import com.example.curd.payload.request.User.UpdateUserRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dakai
 * @since 2021-04-18
 */
public interface IUserService extends IService<User> {
      IPage<User> selectUser(SelectUserRequest request);
      ResponseModel addUser(AddUserRequest request);
      void updateUser(UpdateUserRequest request);
      void deleteUser(DeleteUserRequest request);
    }
